# Copyright 2015 PerfKitBenchmarker Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from absl import flags


flags.DEFINE_boolean(
    'mesos_privileged_docker',
    False,
    'If set to True, will attempt to create Docker containers '
    'in a privileged mode. Note that some benchmarks execute '
    'commands which are only allowed in privileged mode.',
)

flags.DEFINE_integer(
    'docker_memory_mb', 2048, 'Memory limit for docker containers.'
)

flags.DEFINE_float('docker_cpus', 1, 'CPU limit for docker containers.')

flags.DEFINE_string(
    'marathon_address', 'localhost:8080', 'Marathon IP address and port.'
)

flags.DEFINE_string(
    'marathon_auth', 'root:password', 'Marathon server basic authentication.'
)
